package com.jk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 位佳生
 * @title: RecordInvesEntity
 * @projectName springboot_financial
 * @description: TODO
 * @date 2022/11/911:25
 */
@Data
@TableName("investment_record")
public class RecordInvesEntity {
    @TableId(type = IdType.AUTO)
    private Integer investment_id;     //投资记录id
    private String  investment_name;   //投资项目名称
    private BigDecimal investment_money;  //投资金额
    private String  investment_rate;      //投资回报率
    private Integer investment_status;    //当前状态
    private Integer investment_type;      //投资类型
    private String  investment_date;      //投资时间
    private Integer investment_userid;    //关联的用户id
    private Integer investment_propertyid;//关联投资项目id
    private String investment_userName;//投资人
    @TableField(exist = false)
    private String startDate;
    @TableField(exist = false)
    private String endDate;
    @TableField(exist = false)
    private Integer typeDate;

}
